﻿<div id="error"><img src="./images/error.jpg" alt="出错啦~" class="error"/></div>
<!--错误其实是————<?php 
require_once(dirname(dirname(__FILE__)).'//include//class_com_mailer.php'); // a mysql class.
$error = "";
if(isset($_warning))
{
	if(isset($_warning['t']))
	{
		$type = $_warning['t'];
		switch($type)
		{
			case "name"		: $error = '该姓名已经报过名..'; echo $error; $error = $error.":".$name; break;
			case "repeat"	: $error = '邮箱或学号重复报名..'; echo $error; $error = $error.":".$email.":".$number; break;
			case "mail"		: $error = '你的邮箱是瞎填的吧..'; echo $error; $error = $error.":".$email; break;
			case "error"	: 
				$meg = $_warning['meg'];
				echo $meg ;
				break;
			default			:	$error = '我们也不知道..'; echo $error; $error = $error.":".$name.":".$email.":".$number.":".$class.":".$telphone; break;
		}
	}
}

$smtpserver = "smtp.qq.com";//SMTP服务器 
$smtpserverport = 25;//SMTP服务器端口 
$smtpusermail = "no-reply@sxisa.com";//SMTP服务器的用户邮箱 
$smtpemailto = "contact@sxisa.com";//发送给谁 
$smtpuser = "2696740869";//SMTP服务器的用户帐号 
$smtppass = "szisa_admin";//SMTP服务器的用户密码 
$mailsubject = "创软俱乐部网站遭遇错误..";//邮件主题 
$mailbody = $error;
$mailtype = "TXT";//邮件格式（HTML/TXT）,TXT为文本邮件 

@$smtp = new smtp($smtpserver,$smtpserverport,true,$smtpuser,$smtppass);//这里面的一个true是表示使用身份验证,否则不使用身份验证. 
$smtp->debug = false;//是否显示发送的调试信息 
@$smtp->sendmail($smtpemailto, $smtpusermail, "创软俱乐部服务器",$mailsubject, $mailbody, $mailtype); 

?>-->